![]() |
PBGetVolSync |
||||
Header: | Files.h | Carbon status: | Unsupported | |
Determines the default volume and default directory.
OSErr PBGetVolSync ( ParmBlkPtr paramBlock );
A pointer to a basic File Manager parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On output, a pointer to the name of the default volume. If you do not wish the name of the default volume returned, pass NULL in this field.
On output, a volume reference number or a working directory reference number.
If a default directory was set with a previous call to PBSetVolSync, a pointer to its name is returned in ioNamePtr and its working directory reference number is returned in ioVRefNum. However, if, in a previous call to HSetVol (or PBHSetVolSync), a working directory reference number was passed in, PBGetVolSync returns a volume reference number in the ioVRefNum field.
Not supported in Carbon. Not available in Carbon.
Obsolete. Use PBHGetVolSync instead.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)